﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Entidades;
using LisBioGUIWPF.Controls.Reportes;

namespace LisBioGUIWPF.Controls
{
    /// <summary>
    /// Lógica de interacción para ReportesControl.xaml
    /// </summary>
    public partial class ReportesControl : UserControl
    {

        private LisBio lisBio;

        public ReportesControl(LisBio lisBio)
        {
            InitializeComponent();
            this.lisBio = lisBio;
        }

        private void reportes_Click(object sender, RoutedEventArgs e)
        {
            ReportesData reporteData = new ReportesData(lisBio, ReportesData.Operacion.MAILS, null);
            this.lisBio.borderHuella.Child = reporteData;
        }
    }
}
